﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AFD RID: 2813
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MCFLKFLHMMF : IMessage<MCFLKFLHMMF>, IMessage, IEquatable<MCFLKFLHMMF>, IDeepCloneable<MCFLKFLHMMF>, IBufferMessage
	{
		// Token: 0x17002388 RID: 9096
		// (get) Token: 0x06007DFA RID: 32250 RVA: 0x001502E5 File Offset: 0x0014E4E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MCFLKFLHMMF> Parser
		{
			get
			{
				return MCFLKFLHMMF._parser;
			}
		}

		// Token: 0x17002389 RID: 9097
		// (get) Token: 0x06007DFB RID: 32251 RVA: 0x001502EC File Offset: 0x0014E4EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MCFLKFLHMMFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700238A RID: 9098
		// (get) Token: 0x06007DFC RID: 32252 RVA: 0x001502FE File Offset: 0x0014E4FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MCFLKFLHMMF.Descriptor;
			}
		}

		// Token: 0x06007DFD RID: 32253 RVA: 0x00150305 File Offset: 0x0014E505
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MCFLKFLHMMF()
		{
		}

		// Token: 0x06007DFE RID: 32254 RVA: 0x00150318 File Offset: 0x0014E518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MCFLKFLHMMF(MCFLKFLHMMF other) : this()
		{
			this.iCJMGFNKKMB_ = other.iCJMGFNKKMB_.Clone();
			this.selectHintId_ = other.selectHintId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007DFF RID: 32255 RVA: 0x0015034E File Offset: 0x0014E54E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MCFLKFLHMMF Clone()
		{
			return new MCFLKFLHMMF(this);
		}

		// Token: 0x1700238B RID: 9099
		// (get) Token: 0x06007E00 RID: 32256 RVA: 0x00150356 File Offset: 0x0014E556
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueCommonBuff> ICJMGFNKKMB
		{
			get
			{
				return this.iCJMGFNKKMB_;
			}
		}

		// Token: 0x1700238C RID: 9100
		// (get) Token: 0x06007E01 RID: 32257 RVA: 0x0015035E File Offset: 0x0014E55E
		// (set) Token: 0x06007E02 RID: 32258 RVA: 0x00150366 File Offset: 0x0014E566
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SelectHintId
		{
			get
			{
				return this.selectHintId_;
			}
			set
			{
				this.selectHintId_ = value;
			}
		}

		// Token: 0x06007E03 RID: 32259 RVA: 0x0015036F File Offset: 0x0014E56F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MCFLKFLHMMF);
		}

		// Token: 0x06007E04 RID: 32260 RVA: 0x00150380 File Offset: 0x0014E580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MCFLKFLHMMF other)
		{
			return other != null && (other == this || (this.iCJMGFNKKMB_.Equals(other.iCJMGFNKKMB_) && this.SelectHintId == other.SelectHintId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007E05 RID: 32261 RVA: 0x001503D0 File Offset: 0x0014E5D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.iCJMGFNKKMB_.GetHashCode();
			if (this.SelectHintId != 0U)
			{
				num ^= this.SelectHintId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007E06 RID: 32262 RVA: 0x0015041D File Offset: 0x0014E61D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007E07 RID: 32263 RVA: 0x00150425 File Offset: 0x0014E625
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007E08 RID: 32264 RVA: 0x00150430 File Offset: 0x0014E630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SelectHintId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.SelectHintId);
			}
			this.iCJMGFNKKMB_.WriteTo(ref output, MCFLKFLHMMF._repeated_iCJMGFNKKMB_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007E09 RID: 32265 RVA: 0x00150480 File Offset: 0x0014E680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.iCJMGFNKKMB_.CalculateSize(MCFLKFLHMMF._repeated_iCJMGFNKKMB_codec);
			if (this.SelectHintId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SelectHintId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007E0A RID: 32266 RVA: 0x001504D4 File Offset: 0x0014E6D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MCFLKFLHMMF other)
		{
			if (other == null)
			{
				return;
			}
			this.iCJMGFNKKMB_.Add(other.iCJMGFNKKMB_);
			if (other.SelectHintId != 0U)
			{
				this.SelectHintId = other.SelectHintId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007E0B RID: 32267 RVA: 0x00150521 File Offset: 0x0014E721
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007E0C RID: 32268 RVA: 0x0015052C File Offset: 0x0014E72C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 82U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.iCJMGFNKKMB_.AddEntriesFrom(ref input, MCFLKFLHMMF._repeated_iCJMGFNKKMB_codec);
					}
				}
				else
				{
					this.SelectHintId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003021 RID: 12321
		private static readonly MessageParser<MCFLKFLHMMF> _parser = new MessageParser<MCFLKFLHMMF>(() => new MCFLKFLHMMF());

		// Token: 0x04003022 RID: 12322
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003023 RID: 12323
		public const int ICJMGFNKKMBFieldNumber = 10;

		// Token: 0x04003024 RID: 12324
		private static readonly FieldCodec<RogueCommonBuff> _repeated_iCJMGFNKKMB_codec = FieldCodec.ForMessage<RogueCommonBuff>(82U, RogueCommonBuff.Parser);

		// Token: 0x04003025 RID: 12325
		private readonly RepeatedField<RogueCommonBuff> iCJMGFNKKMB_ = new RepeatedField<RogueCommonBuff>();

		// Token: 0x04003026 RID: 12326
		public const int SelectHintIdFieldNumber = 1;

		// Token: 0x04003027 RID: 12327
		private uint selectHintId_;
	}
}
